package org.example.enumcode;

/**
 * @author 张在成
 */

public enum StatusEnum {

    DISABLED(0,"任务禁用"),

    ENABLED(1,"任务启用"),
    ;

    private  Integer  code;

    private  String  msg;

    StatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }
}
